\hypertarget{structsc2_1_1_action_raw}{}\section{sc2\+:\+:Action\+Raw Struct Reference}
\label{structsc2_1_1_action_raw}\index{sc2\+::\+Action\+Raw@{sc2\+::\+Action\+Raw}}


An action (command or ability) applied to a unit or set of units.  




{\ttfamily \#include $<$sc2\+\_\+action.\+h$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800}{Target\+Type} \{ \hyperlink{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800ad76dbb1f34ebecacde71ea8d7b573a01}{Target\+None}, 
\hyperlink{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800a61c42ac7737f36c0c9ee4be66feb1933}{Target\+Unit\+Tag}, 
\hyperlink{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800af9e15c024c14d7dd4570395858a9882a}{Target\+Position}
 \}\begin{DoxyCompactList}\small\item\em Type of target. Target types are mutually exclusive. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_action_raw_a88b07cbf99a78d573969b0c14410ab88}\label{structsc2_1_1_action_raw_a88b07cbf99a78d573969b0c14410ab88}} 
\hyperlink{structsc2_1_1_action_raw_a88b07cbf99a78d573969b0c14410ab88}{Action\+Raw} ()
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_action_raw_a9cf9e83ec9ebd6f9db4520ede7150aed}\label{structsc2_1_1_action_raw_a9cf9e83ec9ebd6f9db4520ede7150aed}} 
bool \hyperlink{structsc2_1_1_action_raw_a9cf9e83ec9ebd6f9db4520ede7150aed}{operator==} (const \hyperlink{structsc2_1_1_action_raw}{Action\+Raw} \&a) const
\begin{DoxyCompactList}\small\item\em Comparison overload. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_action_raw_af4084f9dec15364aea72d01e6f555d56}\label{structsc2_1_1_action_raw_af4084f9dec15364aea72d01e6f555d56}} 
\hyperlink{classsc2_1_1_s_c2_type}{Ability\+ID} \hyperlink{structsc2_1_1_action_raw_af4084f9dec15364aea72d01e6f555d56}{ability\+\_\+id}
\begin{DoxyCompactList}\small\item\em The ID of the ability to invoke. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_action_raw_ac8767f8740a584a60b39d27cd3df620c}\label{structsc2_1_1_action_raw_ac8767f8740a584a60b39d27cd3df620c}} 
std\+::vector$<$ Tag $>$ \hyperlink{structsc2_1_1_action_raw_ac8767f8740a584a60b39d27cd3df620c}{unit\+\_\+tags}
\begin{DoxyCompactList}\small\item\em Units this action applies to. In normal use, this would be the currently selected units. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_action_raw_a6bd32cf44980cbaacc41fe56d338c3d7}\label{structsc2_1_1_action_raw_a6bd32cf44980cbaacc41fe56d338c3d7}} 
\hyperlink{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800}{Target\+Type} \hyperlink{structsc2_1_1_action_raw_a6bd32cf44980cbaacc41fe56d338c3d7}{target\+\_\+type}
\begin{DoxyCompactList}\small\item\em Which target fields are valid. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_action_raw_acd2f5da93f22943c4c3b1bcbeb1e9a28}\label{structsc2_1_1_action_raw_acd2f5da93f22943c4c3b1bcbeb1e9a28}} 
Tag \hyperlink{structsc2_1_1_action_raw_acd2f5da93f22943c4c3b1bcbeb1e9a28}{target\+\_\+tag}
\begin{DoxyCompactList}\small\item\em The target of this action. Valid only when target\+\_\+type == Target\+Unit\+Tag. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_action_raw_af35667a06a46069209f5f364c7530195}\label{structsc2_1_1_action_raw_af35667a06a46069209f5f364c7530195}} 
\hyperlink{structsc2_1_1_point2_d}{Point2D} \hyperlink{structsc2_1_1_action_raw_af35667a06a46069209f5f364c7530195}{target\+\_\+point}
\begin{DoxyCompactList}\small\item\em The target point for this action. Valid only when target\+\_\+type == Target\+Position. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
An action (command or ability) applied to a unit or set of units. 

\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800}\label{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800}} 
\index{sc2\+::\+Action\+Raw@{sc2\+::\+Action\+Raw}!Target\+Type@{Target\+Type}}
\index{Target\+Type@{Target\+Type}!sc2\+::\+Action\+Raw@{sc2\+::\+Action\+Raw}}
\subsubsection{\texorpdfstring{Target\+Type}{TargetType}}
{\footnotesize\ttfamily enum \hyperlink{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800}{sc2\+::\+Action\+Raw\+::\+Target\+Type}}



Type of target. Target types are mutually exclusive. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{Target\+None@{Target\+None}!sc2\+::\+Action\+Raw@{sc2\+::\+Action\+Raw}}\index{sc2\+::\+Action\+Raw@{sc2\+::\+Action\+Raw}!Target\+None@{Target\+None}}}\mbox{\Hypertarget{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800ad76dbb1f34ebecacde71ea8d7b573a01}\label{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800ad76dbb1f34ebecacde71ea8d7b573a01}} 
Target\+None&No target generally means \textquotesingle{}self\textquotesingle{}, e.\+g., a order to make a unit. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{Target\+Unit\+Tag@{Target\+Unit\+Tag}!sc2\+::\+Action\+Raw@{sc2\+::\+Action\+Raw}}\index{sc2\+::\+Action\+Raw@{sc2\+::\+Action\+Raw}!Target\+Unit\+Tag@{Target\+Unit\+Tag}}}\mbox{\Hypertarget{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800a61c42ac7737f36c0c9ee4be66feb1933}\label{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800a61c42ac7737f36c0c9ee4be66feb1933}} 
Target\+Unit\+Tag&The target is a unit tag, could also be a snapshot in the fog-\/of-\/war. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{Target\+Position@{Target\+Position}!sc2\+::\+Action\+Raw@{sc2\+::\+Action\+Raw}}\index{sc2\+::\+Action\+Raw@{sc2\+::\+Action\+Raw}!Target\+Position@{Target\+Position}}}\mbox{\Hypertarget{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800af9e15c024c14d7dd4570395858a9882a}\label{structsc2_1_1_action_raw_a18505ce7c00e382d636339eba391d800af9e15c024c14d7dd4570395858a9882a}} 
Target\+Position&The target is a point. \\
\hline

\end{DoxyEnumFields}


The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/sc2api/sc2\+\_\+action.\+h\end{DoxyCompactItemize}
